package pattern.behavior.state.impl;

import pattern.behavior.state.OrderState;

public class Completed implements OrderState {
    @Override
    public void pay() {
        System.out.println("不能支付一个已完成的订单");
    }

    @Override
    public void cancel() {
        System.out.println("不能取消一个已完成的订单");
    }

    @Override
    public void complete() {
        System.out.println("订单已经完成");
    }
}
